#pragma once
#include<iostream>
#include<string>
using namespace std;
#include"Person.h"
#include "CostStandard.h"

class teacher :public person {
public:
    teacher(string name, int id, int roomNumber, int UID, string gender, string sclass);
    virtual void show_info();
    virtual string get_name();
    virtual string get_gender();
    virtual string get_class();
    virtual void save_info(ofstream& ofs);
};

class teccoststd : public coststandard {
public:
    teccoststd(double usage, int type, string gender, string sclass);

    virtual double cal_price();
};